package com.itheima.test1110work2;
//爬行类 子类
public class Crawl extends Animal {
    private String temp;// 温度
    private String vision;//视力

    public Crawl(String kind, double weight, String temp, String vision) {
        super(kind, weight);
        this.temp = temp;
        this.vision = vision;
    }

    public Crawl() {}

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public String getVision() {
        return vision;
    }

    public void setVision(String vision) {
        this.vision = vision;
    }
}
